package com.entity;

public class Data {
    private boolean state;
    private Object error;
    private Object data;
    public boolean isState() {
        return state;
    }

    public void setState(boolean state) {
        this.state = state;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "Data{" +
                "state=" + state +
                ", error=" + error +
                '}';
    }

    public Object getError() {
        return error;
    }

    public void setError(Object error) {
        this.error = error;
    }
}
